//字符串重复三次
let n = 'abc'
for (let i = 0; i < 3; i++) {
    document.write(n + '<br>')
}